package com.qf.service.impl;

import com.qf.entity.WmsCkManage;
import com.qf.entity.WmsCkManagement;
import com.qf.mapper.WmsDetailInfoMApper;
import com.qf.service.WmsDetailInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Service
public class WmsDetailInfoServiceImpl implements WmsDetailInfoService {

    @Autowired
    private WmsDetailInfoMApper mapper;

    @Override
    public List<WmsCkManage> findInfoAll() {
        return mapper.findInfoAll();
    }

    @Override
    public boolean deleteInfo(int id) {
        return mapper.deleteInfo(id);
    }

    @Override
    public List<WmsCkManage> findAll(Object o) {
        return mapper.findAll(o);
    }

    @Override
    public void saveBatch(ArrayList<WmsCkManage> list) {
        mapper.saveBatch(list);

    }


}
